/*
 * IDistribution.cs
 * 
 * Copyright (c) 2003-2004, dnAnalytics Project. All rights reserved.
*/
namespace dnA.Stats.Distributions {
    ///<summary>Provides an interface to a distribution's density functions.</summary>
	public interface IDistribution{
        ///<summary>Evaluates the probability density function at X.></summary>
        ///<param name="x">value to evaluate the function at.</param>
        ///<returns>the probability density function at X.</returns>
        double EvaluatePDF(double x);

        ///<summary>Evaluates the cumulative density function at X.></summary>
        ///<param name="x">value to evaluate the function at.</param>
        ///<returns>the cumulative density function function at X.</returns>
		double EvaluateCDF(double x);

        ///<summary>Evaluates the inverse cumulative density function at X.></summary>
        ///<param name="x">value to evaluate the function at.</param>
        ///<returns>the inverse cumulative density function function at X.</returns>
		double EvaluateInverseCDF(double x);
	}
}

